<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	
<ui:composition template="/WEB-INF/templates/basic_template.xhtml">
<ui:define name="content">
	<h:form>
		<h1 align="center">Login Page</h1>
		<table align="center">
			<tr>
				<td>UserId</td>
				<td><h:inputText id="userId" required="true"
						value="#{employee.employeeUserId}" label="userId" requiredMessage="UserId is required !!"></h:inputText>
					</td>
					<td><h:link value="Forgot UserId ?" outcome="forgotUserId" /></td><td><h:message for="userId"></h:message></td>
			</tr>
			<tr>
				<td>Password</td>
				<td><h:inputSecret id="password" required="true"
						value="#{employee.password}" label="password" requiredMessage="Password is required !!"></h:inputSecret>
					</td><td><h:link value="Forgot Password ?" outcome="forgotPassword" /></td><td><h:message for="password"></h:message></td>
			</tr>
			<tr><td></td><td><h:commandButton value="Login" action="#{employee.loginCheck}" id="loginbutton" /> &nbsp;&nbsp;<h:commandButton value="Clear" id="clearbutton" /></td>
			<td><h:message for="loginbutton"></h:message> </td><td></td></tr>
		</table>
		
		



		
		
	</h:form>
	</ui:define>
</ui:composition>
</html>